From 4671bf4b40ea75cf28b51c2338e5e4bfb4a6d0e4 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Sun, 2 May 2004 23:53:10 +0000 Subject: [PATCH] \n rather than \n (although they both seem to work) --- includes/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Parser.php b/includes/Parser.php index cd1469b576..159b271b4d 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -1515,7 +1515,7 @@ class Parser $htmlattrs = $this->getHTMLattrs () ; # Remove HTML comments - $text = preg_replace( "/(\n * *(?=\n)|)/sU", "$2", $text ); + $text = preg_replace( "/(\\n * *(?=\\n)|)/sU", "$2", $text ); $bits = explode( "<", $text ); $text = array_shift( $bits ); -- 2.20.1